#ifndef BUTTONLISTARROW_H_
#define BUTTONLISTARROW_H_

#include <iostream>
#include "SDL/SDL_ttf.h"
#include "../../common/Constantes.h"
#include "listeners/Listener.h"
#include "../../common/utils/Logger.h"
#include "../Parcel.h"
#include "../Event.h"
#include "../WidgetClickeable.h"

class ButtonListArrow: public WidgetClickeable {

public:
	ButtonListArrow (std::string path, int posX, int posY, Widget* parent, Listener * listener);
	ButtonListArrow (Color color,int w, int h, int posX, int posY, Widget* parent, Listener * listener);

	virtual void handleEvent(Event event, Parcel* parentParcel);
	virtual void resolve();
	bool isMouseOver(Event event, Parcel* parcel) const;

private:
	Listener* listener;

};

#endif /* BUTTONLISTARROW_H_ */
